<?php

  class Dir {
    
    function __construct ($name) {
      $this->path = $name;
      $this->basename = basename($name);
      $this->parent_dir = dirname($name);
    }
    
    function get_subdirectories() {
      
      
    }
    
  }

?>